import { request } from 'umi';

export async function ArticleColumn(params: any) {
  return request('/api/client/ArticleColumn', {
    method: 'GET',
    params,
  });
}
export async function currentUser(params: any){
  return request('/api/user/currentUser',{
      method:'GET',
      params,
  })
}

export async function getArticle(params: any) {
    return request('/api/client/getArticle',{
        method:'GET',
        params:params
    })
}
export async function getOnePagePv(params: any) {
  return request('/api/analyse/getOnePagePv', {
    method: 'GET',
    params,
  });
}
export async function getOneArticleLiked(params: any) {
  return request('/api/analyse/getOneArticleLiked', {
    method: 'GET',
    params,
  });
}